WpMatomo\Admin\SystemReport D

Total Complexity 308
Dependencies 34
Dependents 3
Total lines 1,980
Lines of code 1,620
Logical lines of code 715
Comment lines 82
Methods 33
Properties 10

Methods 33

Method Rating Maintainability Complexity Lines of code
get_matomo_info()
D
8
75 440
execute_troubleshoot_if_needed()
C
32 28 99
get_server_info()
C
26
23 167
get_plugins_info()
C
30 25 118
get_db_info()
B
31 17 123
get_wordpress_info()
B
29 15 146
get_phpcli_info()
A
41 9 58
check_file_exists_and_writable()
A
51 11 23
get_db_grants()
A
45 9 41
replace_hexadecimal_colors()
A
49 9 31
get_browser_info()
A
46 8 40
add_diagnostic_results()
A
49 8 29
convert_time_to_date()
S
55 6 17
has_only_warnings_no_error()
S
59 6 15
add_errors_first()
S
57 5 18
get_actives_plugins()
S
57 5 16
set_errors_present_transient()
S
60 5 13
check_wp_can_be_loaded_in_php_cli()
S
52 4 27
show()
S
52 4 24
had_visits_in_last_days()
S
53 4 22
get_error_tables()
S
47 2 44
get_num_entries_in_table()
S
59 4 14
find_wp_load_path()
S
62 4 11
get_num_matomo_tables()
S
59 3 14
get_abs_path_to_plugin()
S
66 3 9
get_phpcli_output()
S
68 3 7
get_php_cli_binary()
S
67 3 8
add_maxminddb_row()
S
64 3 8
get_missing_tables()
S
60 2 13
errors_present()
S
61 2 12
__construct()
S
68 1 7
get_not_compatible_plugins()
S
82 1 3
get_errors_present_cache_key()
S
82 1 3